home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
maquiagem-lana.swf
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2007-11-28
|
2KB
|
59 lines
stop();
so3.start(0,1);
if(current_pencil_my_alpha == 100 && current_eyelash_curler > 1 && current_eye_shadow1 > 1 && current_eye_shadow2 > 1 && current_lip_gloss > 1 && current_blusher > 1)
{
ending_score.gotoAndStop(1);
}
else if((current_lip_stick > 1 || current_lip_gloss > 1) && current_eyelash_curler > 1)
{
ending_score.gotoAndStop(2);
}
else if((current_lip_stick > 1 || current_lip_gloss > 1) && current_blusher > 1)
{
ending_score.gotoAndStop(3);
}
else
{
ending_score.gotoAndStop(4);
}
ava_face.face_foundation._alpha = current_foundation_my_alpha;
ava_face.face_eyebrow._alpha = current_pencil_my_alpha;
ava_face.face_eye_shadow1._alpha = current_eye_shadow1_my_alpha;
ava_face.face_eye_shadow2._alpha = current_eye_shadow2_my_alpha;
ava_face.face_cheek._alpha = current_blusher_my_alpha;
ava_face.face_lip._alpha = current_lip_stick_my_alpha;
ava_face.face_lip_gloss._alpha = current_lip_gloss_my_alpha;
current_foundation = ava_face.face_foundation.gotoAndStop(current_foundation);
ava_face.face_eyebrow.gotoAndStop(current_pencil);
ava_face.face_eye_shadow1.gotoAndStop(current_eye_shadow1);
ava_face.face_eye_shadow2.gotoAndStop(current_eye_shadow2);
ava_face.face_cheek.gotoAndStop(current_blusher);
ava_face.face_lip.gotoAndStop(current_lip_stick);
ava_face.face_lip_gloss.gotoAndStop(current_lip_gloss);
ava_face.face_eyelashes.gotoAndStop(current_mascara);
ava_face.face_curled_eyelashes.gotoAndStop(current_eyelash_curler);
replay_bt.onRollOver = function()
{
so1.start(0,1);
this.replay_bt_rollover.gotoAndStop(2);
};
replay_bt.onRollOut = function()
{
this.replay_bt_rollover.gotoAndStop(1);
};
replay_bt.onPress = function()
{
this.gotoAndStop(2);
};
replay_bt.onRelease = function()
{
so1.start(0,1);
this.gotoAndStop(1);
_root.gotoAndStop(2);
};
replay_bt.onReleaseOutside = function()
{
this.gotoAndStop(1);
};
delete onMouseDown;